-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix errors in GH action coverage test #323
Conversation
I ran this code after the fixes and it works fine now. Tested scripts:
However, when I open root
is this expected behaviour? |
I think it's normal when DB is empty. Running |
REQUIREMENTS.txt
Outdated
Whoosh==2.5.6 | ||
|
||
# Updates for Django 2 & Python 3.7 | ||
git+https://github.com/Xpirix/whoosh.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be better to specify a specific commit?
dockerize/docker/Dockerfile
Outdated
@@ -12,7 +12,7 @@ RUN echo "deb http://archive.debian.org/debian stretch main contrib non-free" > | |||
RUN apt-get update && apt-get install -y libsasl2-dev python-dev libldap2-dev libssl-dev | |||
ADD REQUIREMENTS.txt /REQUIREMENTS.txt | |||
RUN pip install -r /REQUIREMENTS.txt | |||
RUN pip install uwsgi | |||
RUN pip install uwsgi freezegun |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be better to specify a specific version?
dockerize/docker/REQUIREMENTS.txt
Outdated
django-haystack | ||
|
||
# Updates for Django 2 & Python 3.7 | ||
git+https://github.com/Xpirix/whoosh.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
qgis-app/REQUIREMENTS_plugins.txt
Outdated
django-haystack | ||
|
||
# Updates for Django 2 & Python 3.7 | ||
git+https://github.com/Xpirix/whoosh.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
@dqunbp . Thanks for the feedback. Yes, I also think it's better to specify the commit or the version to prevent errors in the future. I've just made these fixes. |
Summary of this PR:
django-taggit
, 'Whoosh', 'picke5') in requirements to fix errors when running tests or commands in a development environment<div class="span8 new-feedback">
becomes<div class="new-feedback">
because<div class="span8 new-feedback">
doesn't exist and the test will always fail.